﻿<UserControl x:Class="MouseEvents.Page"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    FontFamily="Trebuchet MS" FontSize="11"
    Width="400" Height="300">
    <Grid x:Name="LayoutRoot" Background="White">
        <Canvas Width="400" Height="300" Background="Wheat">
            <Ellipse Canvas.Top="0" Fill="Black" Width="20" Height="20" MouseLeftButtonDown="Ellipse_MouseLeftButtonDown" MouseLeftButtonUp="Ellipse_MouseLeftButtonUp" MouseMove="Ellipse_MouseMove" />
            <Ellipse Canvas.Top="40" Fill="Black" Width="20" Height="20" MouseLeftButtonDown="Ellipse_MouseLeftButtonDown" MouseLeftButtonUp="Ellipse_MouseLeftButtonUp" MouseMove="Ellipse_MouseMove" />
            <Ellipse Canvas.Top="80" Fill="Black" Width="20" Height="20" MouseLeftButtonDown="Ellipse_MouseLeftButtonDown" MouseLeftButtonUp="Ellipse_MouseLeftButtonUp" MouseMove="Ellipse_MouseMove" />
            <Ellipse Canvas.Top="120" Fill="Black" Width="20" Height="20" MouseLeftButtonDown="Ellipse_MouseLeftButtonDown" MouseLeftButtonUp="Ellipse_MouseLeftButtonUp" MouseMove="Ellipse_MouseMove" />
        </Canvas>
    </Grid>
</UserControl>
